/*
 * ComunicationWindow.java
 *
 * Created on 27 de abril de 2007, 10:40
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

import java.awt.*;

/**
 *
 * @author usuario
 */
public class ComunicationWindow extends Frame{
    
    public TextArea messageAreaOut;
    public TextArea messageAreaIn;

    /** Creates a new instance of ComunicationWindow */
    public ComunicationWindow() {
        setLayout(new BorderLayout());

        messageAreaOut = new TextArea("",0,0,TextArea.SCROLLBARS_VERTICAL_ONLY);
        messageAreaOut.setEditable(false);
        add(messageAreaOut, "North");

        messageAreaIn = new TextArea("",0,0,TextArea.SCROLLBARS_VERTICAL_ONLY);
        messageAreaIn.setEditable(false);
        add(messageAreaIn, "South");

        setSize(300, 500);
        setLocation(960,0);
        setVisible(true);
        repaint();
    }
    
}
